package request

type TmallServicecenterTasksSearchRequest struct {
	/*
	   开始时间:  开始时间和结束时间不能超过15分钟     */
	Start *int64 `json:"start" required:"true" `
	/*
	   结束时间:  开始时间和结束时间不能超过15分钟     */
	End *int64 `json:"end" required:"true" `
}

func (s *TmallServicecenterTasksSearchRequest) SetStart(v int64) *TmallServicecenterTasksSearchRequest {
	s.Start = &v
	return s
}
func (s *TmallServicecenterTasksSearchRequest) SetEnd(v int64) *TmallServicecenterTasksSearchRequest {
	s.End = &v
	return s
}

func (req *TmallServicecenterTasksSearchRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.Start != nil {
		paramMap["start"] = *req.Start
	}
	if req.End != nil {
		paramMap["end"] = *req.End
	}
	return paramMap
}

func (req *TmallServicecenterTasksSearchRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
